home *** CD-ROM | disk | FTP | other *** search
/ il gioco del Kamasutra / Milo Manara Kamasutra.iso / mac / DATA / ParteIII / GameIV / Parete4 / Muro.dir / 00010_Script_10 < prev    next >
Text File  |  1997-11-23  |  1KB  |  40 lines

  1. on mouseUp
  2.   
  3.   
  4.   Global SequenzaFigure4, Parete
  5.   PuppetSprite 5, true
  6.   set the mouseUpScript to "dontPassEvent"
  7.   set the mouseDownScript to "dontPassEvent"
  8.   if (SequenzaFigure4 = 1) and (Parete = 4) then
  9.     set the member of sprite 5 to member "Movie1Up"
  10.     updatestage
  11.     puppetSound 3, "Click 1"
  12.     set the movierate of sprite 5 to 1
  13.     set SequenzaFigure4 = SequenzaFigure4 + 1
  14.     repeat while the movietime of sprite 5 < 60
  15.       updatestage
  16.     end repeat
  17.     set the member of sprite 5 to member "Down1"
  18.     updatestage
  19.     set the scriptnum of sprite 5 to 8
  20.     
  21.   else
  22.     
  23.     set the member of sprite 5 to member "Movie1Up"
  24.     updatestage
  25.     puppetSound 3, "Click 1b"
  26.     set the movierate of sprite 5 to 1
  27.     repeat while the movietime of sprite 5 < 125
  28.       updatestage
  29.     end repeat
  30.     
  31.     repeat with n = 1 to 5
  32.       set the member of sprite 4 + n to member ("Up" & n)
  33.       set the scriptnum of sprite 4 + n to 9 + n
  34.       updatestage
  35.     end repeat
  36.     set SequenzaFigure4 = 1
  37.     
  38.   end if
  39.   
  40. end